capital = 70

set_technology = {
	tech_trucks = 1
	gw_artillery = 1
	interwar_artillery = 1
	interwar_antiair = 1
	infantry_weapons = 1
	infantry_weapons1 = 1
	infantry_weapons2 = 1
	support_weapons = 1
	tech_support = 1
	tech_recon = 1
	tech_mountaineers = 1
	tech_engineers = 1

	basic_fortification_tech = 1
}

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
	}
	set_oob = "SLO_1939"
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
	}
	set_oob = "SLO_1939_nsb"
}
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "SLO_1939_air_bba"
	else = {
		set_air_oob = "SLO_1939_air_legacy"
		set_technology = {
			early_fighter = 1
			early_bomber = 1
			CAS1 = 1
		}
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	create_equipment_variant = {
		name = "Tancik vz. 33"
		type = light_tank_chassis_0
		parent_version = 0
		modules = {
			main_armament_slot = tank_heavy_machine_gun
			turret_type_slot = tank_light_fixed_superstructure_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
		}
		upgrades = {
			tank_nsb_engine_upgrade = 1
			tank_nsb_armor_upgrade = 1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Lt vz. 34"
		type = light_tank_chassis_1
		parent_version = 0
		modules = {
			main_armament_slot = tank_high_velocity_cannon
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
		}
		upgrades = {
			tank_nsb_engine_upgrade = 2
			tank_nsb_armor_upgrade = 1
		}
		icon = "GFX_CZE_improved_light_tank_medium" #Best fit
	}
}

recruit_character = SLO_jozef_tiso
recruit_character = SLO_jaroslav_kratochvil
recruit_character = SLO_vojtech_daubner
recruit_character = SLO_jozef_hora
recruit_character = SLO_frano_kral
recruit_character = SLO_jozef_snejdarek
recruit_character = SLO_fritz_gejza
recruit_character = SLO_frantisek_sadek
recruit_character = SLO_stefan_tiso
recruit_character = SLO_cyril_kuchta
recruit_character = SLO_jindrich_honzl
recruit_character = SLO_frantisek_straka
recruit_character = SLO_karol_sidor
recruit_character = SLO_emil_lendvay
recruit_character = SLO_jozef_turanec			#instanced - general with PfoT, navy chief without
recruit_character = SLO_gustav_malar
recruit_character = SLO_rudolf_viest
recruit_character = SLO_janko_jesensky
recruit_character = SLO_ferdinand_catlos
recruit_character = SLO_anton_pulanick

if = {
	limit = {
		has_dlc = "Peace For Our Time"
	}
	recruit_character = SLO_karol_smidke		#communist country leader
	recruit_character = SLO_vojtech_tuka		#alternate fascist country leader (also advisor on CZE)
	recruit_character = SLO_jan_ursiny			#democratic country leader

	recruit_character = SLO_stefan_jurech		#field marshall
	recruit_character = SLO_augustin_malar		#general
	recruit_character = SLO_julius_thorzo		#replacement navy chief, since SLO_jozef_turanec was a general irl
}

add_ideas = {
	SLO_slovak_army
	low_economic_mobilisation
}

if = {
	limit = {
		has_dlc = "Peace For Our Time"
	}
	add_ideas = {
		SLO_clerical_politics
		SLO_rapid_brigades
	}
}

1939.1.1 = {
	
	add_political_power = 1198
	add_command_power = 100

	if = {
		limit = {
			has_dlc = "Peace For Our Time"
		}
		add_ideas = {
			SLO_vojtech_tuka
			SLO_stefan_jurech
		}
	}

	#generic focuses
	complete_national_focus = army_effort
	complete_national_focus = equipment_effort
	complete_national_focus = motorization_effort
	complete_national_focus = aviation_effort
	complete_national_focus = naval_effort
	complete_national_focus = flexible_navy
	complete_national_focus = industrial_effort
	complete_national_focus = construction_effort
	complete_national_focus = production_effort
	
	set_technology = {
		#doctrines
		#formation_flying = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		mechanical_computing = 1
		computing_machine = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		fuel_silos = 1
		construction1 = 1
		concentrated_industry = 1
	}

set_grand_doctrine = grand_battleplan
set_grand_doctrine = new_battlefield_support

	complete_special_project = {
		project = sp:sp_air_radar
	}
}

set_politics = {
	ruling_party = fascism
	last_election = "1933.3.5"
	election_frequency = 48
	elections_allowed = no
}
set_popularities = {
	democratic = 6
	fascism = 90
	communism = 4
}